package com.jrzh.bean;

import com.jrzh.framework.base.BaseBean;


public class UploadBean extends BaseBean{

	private static final long serialVersionUID = 1341029907989926979L;
	
	public static final int Status_Success = 200;
	public static final int Status_Error   = 300;

	private  Integer   status;
	private String fileName;
	private String fileType;
	private String          absoluteFilePath;    // 绝对路径
	private String          relativeFilePath;    // 相对路径

	public UploadBean() {
		status = Status_Error;
	}

	/**
	 * 绝对路径,相对路径
	 */
	public UploadBean(String absoluteFilePath, String relativeFilePath) {
		status = Status_Success;
		this.absoluteFilePath = absoluteFilePath;
		this.relativeFilePath = relativeFilePath;
	}
	public UploadBean(String fileName,String fileType,String absoluteFilePath, String relativeFilePath) {
		status = Status_Success;
		this.fileName = fileName;
		this.fileType = fileType;
		this.absoluteFilePath = absoluteFilePath;
		this.relativeFilePath = relativeFilePath;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getAbsoluteFilePath() {
		return absoluteFilePath;
	}

	public void setAbsoluteFilePath(String absoluteFilePath) {
		this.absoluteFilePath = absoluteFilePath;
	}

	public String getRelativeFilePath() {
		return relativeFilePath;
	}

	public void setRelativeFilePath(String relativeFilePath) {
		this.relativeFilePath = relativeFilePath;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
